package com.kaohe.domain;

public class User {

	private int uid;//主键
	private String name;//真实姓名
	private int sex;//1：男    0：女
	private String phone_number;//手机号
	private String area;//所在地区
	private int manager;//是否是管理员   1：管理员   0：代表普通用户
	private String username;//用户名
	private String password;//密码
	private String photo;//上传头像
	private String create_time;//注册时间
	
	public int getUid() {
		return uid;
	}
	public void setUid(int uid) {
		this.uid = uid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getSex() {
		return sex;
	}
	public void setSex(int sex) {
		this.sex = sex;
	}
	public String getPhone_number() {
		return phone_number;
	}
	public void setPhone_number(String phone_number) {
		this.phone_number = phone_number;
	}
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	public int getManager() {
		return manager;
	}
	public void setManager(int manager) {
		this.manager = manager;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPhoto() {
		return photo;
	}
	public void setPhoto(String photo) {
		this.photo = photo;
	}
	public String getCreate_time() {
		return create_time;
	}
	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}
	
	@Override
	public String toString() {
		return "User [uid=" + uid + ", name=" + name + ", sex=" + sex + ", phone_number=" + phone_number + ", area="
				+ area + ", manager=" + manager + ", username=" + username + ", password=" + password + ", photo="
				+ photo + ", create_time=" + create_time + "]";
	}
	

}
